package cn.yangliu.nacos.management.entity.oauth2;

import javax.persistence.Entity;
import javax.persistence.Table;

import cn.yangliu.nacos.comm.audit.AbstractEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * The type of nacos.
 *
 * @author 问道于盲
 * @date 2020 -01-01
 */
@Entity
@Table(name = "oauth2_authority")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Oauth2Authority extends AbstractEntity {

    /**
     * current class instance's member.
     * The Service name.
     */
    @ApiModelProperty(value = "服务名")
    private String serviceName;


}
